<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <c:set var="ctx" value="${pageContext.request.contextPath }"></c:set>
		<meta charset="UTF-8">
		<title>华阳</title>
		<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/resources/css/bootstrap.css"/>
		<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/resources/css/bootstrap-theme.min.css"/>
		<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/resources/css/style.css"/>
		<script src="<%=request.getContextPath()%>/resources/js/jquery-1.7.min.js" type="text/javascript" charset="utf-8"></script>
		<style type="text/css">
			*{
				margin:0;
				padding:0;
			}
			
			<!-- 
                BODY {background: url(<%=request.getContextPath()%>/resources/img/body-back.jpg) no-repeat;background-position: 0px 0px; background-attachment:fixed;}              
            --> 
		</style>
	</head>
	<body>
		<div class="header">
			<div class="header-content">
	            <div class="row clearfix">		          
		            <div class="logo">
		               <%--  <a href="${ctx }/back/zhuye"> --%>
		                	<img src="<%=request.getContextPath()%>/resources/img/raw_1514433813.png"/>
		            	<!-- </a> -->
		            </div>
		            <div class="tab-list">
		                <ul id="tablist">
                            <li class="tab1 tabin">
                            	<a href="${ctx }/department/showDept"><div class="tab-ico"></div></a>                            	
                            </li>
                            <li class="tab2">
                            	<a href="${ctx }/drivers/add_driver?pageNow=1"><div class="tab-ico"></div></a>  
                            </li>
                            <li class="tab6">
                            	<a href="${ctx }/accident/showAccident?pageNow=1"><div class="tab-ico"></div></a>  
                            </li>
                            <li class="tab4">
                            	<a href="${ctx }/after/showAfter?pageNow=1"><div class="tab-ico"></div></a>  
                            </li>
                            <li class="tab5">
                            	<a href="${ctx }/accountlist/selectAccountList"><div class="tab-ico"></div></a>  
                            </li>
                            <li class="tab3">
                            	<a href="${ctx }/back/guanli"><div class="tab-ico"></div></a>  
                            </li>
                            <div class="clearfix">
                            </div>
                        </ul>
		            </div>
		            <div class="top-user">
		            	<div class="user-ico">
		            		<img src="<%=request.getContextPath()%>/resources/img/raw_1514434504.jpg"/>
		            	</div>
		            	<div class="user-class">
		            		<p>${user.uname}</p>
		            		<p>${role.rolename}</p>
		            	</div>
		            	<div class="user-back">
		            		<a id=HyperLink3 onclick="logout()" href="javascript:window.opener=null;%20window.close();"><img src="<%=request.getContextPath()%>/resources/img/raw_1514434766.png"/></a>
		            	</div>
		            	<div class="clearfix"></div>
		            </div>
		            <div class="clearfix"></div>
	            </div>
            </div>
		</div>
		<div class="contet-box container-city" id="contet-box">
			<div class="content ">
				<div class="container">
	                <div class="row clearfix">
		                <%-- <div class="col-md-2 col-item column text-center">
		                	<div class="col-item-info blue-back ">
		                	<a href="${ctx }/waybills/insertWaybill">
		                	<div class="col-item-icon">	
		                			<img src="<%=request.getContextPath()%>/resources/img/raw_1514447539.png"/>
		                	</div>
		                	<span>运单登记</span>
		                	</a>
		                	</div>
		                </div> --%>
		                <div class="col-md-2 col-item column text-center">
		                	<div class="col-item-info l-green-back">
		                	<a href="${ctx }/waybills/showWaybillAll?pageNow=1">
		                	<div class="col-item-icon">	
		                			<img src="<%=request.getContextPath()%>/resources/img/raw_1514447597.png"/>
		                	</div>
		                	<span>运单状态</span>
		                	</a>
		                	</div>
		                </div>
		                <div class="col-md-2 col-item column text-center">
		                	<div class="col-item-info orange-back">
		                	<a href="${ctx }/remind/getRemindsAllSkip">
		                	<div class="col-item-icon">	
		                			<img src="<%=request.getContextPath()%>/resources/img/raw_1514447652.png"/>
		                	</div>
		                	<span>运单提醒</span>
		                	</a>
		                	</div>
		                </div>
		                <div class="col-md-2 col-item column text-center">
		                	<div class="col-item-info pink-back">
		                	<a href="${ctx }/accident/showAccident?pageNow=1">
		                	<div class="col-item-icon">	
		                			<img src="<%=request.getContextPath()%>/resources/img/raw_1514447699.png"/>
		                	</div>
		                	<span>事故查询</span>
		                	</a>
		                	</div>
		                </div>
		            </div>
		
                </div>
			</div>

		</div>
		<script src="<%=request.getContextPath()%>/resources/js/js.js" type="text/javascript" charset="utf-8"></script>
	</body>
	<script language="javascript" type="text/javascript">
		    function logout(){
			   if (confirm("您确定要退出系统吗？"))
			            top.location = "<%=request.getContextPath()%>/index.jsp";
			           
			         return false;
			         
			    }
		</script>
</html>
